home *** CD-ROM | disk | FTP | other *** search
Makefile | 1992-05-03 | 2.6 KB | 81 lines |
- #
- # Makefile for libsipp.a
- #
-
- #These values are default if they are not overridden from the command line:
- CC = gcc -traditional
- CFLAGS = -pipe -O2 -I.
-
- SHELL = /bin/sh
- RM = rm -f
-
- IHDRS = bezier.h lightsource.h noise.h objects.h rendering.h smalloc.h \
- viewpoint.h pixel.h
- EHDRS = sipp.h geometric.h shaders.h primitives.h sipp_pixmap.h sipp_bitmap.h
- HDRS = $(IHDRS) $(EHDRS)
- SRCS = rendering.c geometric.c lightsource.c objects.c smalloc.c \
- transforms.c viewpoint.c pixel.c \
- basic_shader.c mask.c marble.c granite.c noise.c bozo.c bumpy.c \
- planet.c wood.c phong.c strauss.c\
- prism.c cone.c ellipsoid.c torus.c bezier.c bezier_lex.l \
- sipp_pixmap.c sipp_bitmap.c
- OBJS = rendering.o geometric.o lightsource.o objects.o smalloc.o \
- transforms.o viewpoint.o basic_shader.o marble.o granite.o mask.o\
- bozo.o bumpy.o planet.o noise.o bezier.o bezier_lex.o pixel.o\
- torus.o cone.o ellipsoid.o prism.o sipp_pixmap.o sipp_bitmap.o\
- wood.o xalloca.o phong.o strauss.o
-
-
- # These are used if no other values are given at the command line:
- LIBDIR = /usr/local/lib
- INCLUDEDIR = /usr/local/include
-
-
- all: libsipp.a
-
- libsipp.a: $(OBJS)
- ar rv $@ $?
- -ranlib $@
-
- install: libsipp.a $(EHDRS)
- cp libsipp.a $(LIBDIR)
- cp $(EHDRS) $(INCLUDEDIR)
-
-
- tags:
- etags -t $(HDRS) $(SRCS)
-
- clean:
- $(RM) *.o *~ TAGS bezier_lex.c libsipp.a
-
-
- rendering.o: sipp.h rendering.h lightsource.h geometric.h \
- objects.h sipp_bitmap.h viewpoint.h
- geometric.o: geometric.h sipp.h
- lightsource.o: geometric.h lightsource.h sipp.h
- objects.o: sipp.h
- pixel.o: pixel.h sipp.h
- smalloc.o:
- transforms.o: geometric.h sipp.h
- viewpoint.o: geometric.h smalloc.h viewpoint.h sipp.h
- basic_shader.o: sipp.h geometric.h
- strauss.o: sipp.h shaders.h geometric.h
- mask.o: shaders.h sipp.h
- marble.o: noise.h shaders.h sipp.h
- granite.o: noise.h shaders.h sipp.h
- bozo.o: noise.h shaders.h sipp.h
- bumpy.o: noise.h shaders.h sipp.h geometric.h
- planet.o: noise.h sipp.h geometric.h
- wood.o: noise.h shaders.h sipp.h
- phong.o: sipp.h shaders.h geometric.h
- noise.o: noise.h sipp.h
- bezier.o: bezier.h sipp.h primitives.h
- bezier_lex.o: bezier_lex.c bezier.h
- torus.o: sipp.h primitives.h
- ellipsoid.o: sipp.h primitives.h
- prism.o: sipp.h primitives.h
- cone.o: sipp.h primitives.h
- sipp_pixmap.o: sipp_pixmap.h sipp.h
- sipp_bitmap.o: sipp_bitmap.h sipp.h
- xalloca.o: xalloca.h
-